﻿
namespace ZR.Model.Dto.Business.ProductionControl
{
    /// <summary>
    /// 达因抽检记录查询对象
    /// </summary>
    public class CksBasketcleaningRecordQueryDto : PagerInfo
    {
        public DateTime? BeginTime { get; set; }
        public DateTime? EndTime { get; set; }

        public string BlueCode { get; set; }

        public int? Type { get; set; }
    }

    /// <summary>
    /// 达因抽检记录输入输出对象
    /// </summary>
    public class CksBasketcleaningRecordDto
    {
        [Required(ErrorMessage = "Id不能为空")]
        public long Id { get; set; }

        [Required(ErrorMessage = "DCId不能为空")]
        public string DCId { get; set; }

        [Required(ErrorMessage = "子篮码不能为空")]
        public string BlueCode { get; set; }

        [Required(ErrorMessage = "子篮类型不能为空")]
        public int Type { get; set; }

        public DateTime? InTime { get; set; }

        public DateTime? OutTime { get; set; }

        [Required(ErrorMessage = "创建时间(子篮上料时间)不能为空")]
        public DateTime? CreatedTime { get; set; }

        [Required(ErrorMessage = "IsDeleted不能为空")]
        public bool IsDeleted { get; set; }



        [ExcelColumn(Name = "子篮类型")]
        public string TypeLabel { get; set; }
    }
}